package excercise;

public class Q38_Book2 {

	private String title;
	private int allpage;
	private String writer;
	
	public Q38_Book2() {	}
	public Q38_Book2( String title, int allpage, String writer ) {	
		this.title = title;
		this.allpage = allpage;
		this.writer = writer;
			
	}
	
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public int getAllpage() {
		return allpage;
	}
	public void setAllpage(int allpage) {
		this.allpage = allpage;
	}
	public String getWriter() {
		return writer;
	}
	public void setWriter(String writer) {
		this.writer = writer;
	}
	
	
	
} // class
